package com.probox.customer.api.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 付费规则对象 payment_rule
 *
 * @author zsy
 * @date 2021-05-27
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class PaymentRuleVo implements Serializable {

    /**
     * 规则ID
     */
    //默认主键自增
    @ApiModelProperty(value = "规则ID")
    private Long ruleId;

    /**
     * 有效期
     */
    @ApiModelProperty(value = "有效期")
    private String periodValidity;
    /**
     * 价格
     */
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
    /**
     * 有效期天数
     */
    @ApiModelProperty(value = "有效期天数")
    private Integer periodValidityNumber;

    /**
     * 过期时间
     */
    @ApiModelProperty(value = "过期时间")
    private String expireTime;

}
